const state = {
  current: {},
  hide: false
};

const mutations = {
  SET_CURRENT_ROUTE(state, current) {
    state.current = current;
  },
  SET_HIDE(state, hide) {
    state.hide = hide;
  }
};

export default {
  namespaced: true,
  state,
  mutations
}